package bancosys.tec.datadigester.decompressor.impl;

import java.io.InputStream;
import java.util.zip.InflaterInputStream;

import bancosys.tec.datadigester.decompressor.Decompressor;

/**
 * Classe para deszipar um arquivo.
 * @author hugo
 */
public class ZIPDecompressor implements Decompressor {

    /**
     * @param input bytes a descompactar.
     * @return bytes descompactados.
     * @throws IOException 
     */
    public InputStream decompress(InputStream input) {
    	return new InflaterInputStream(input);
    }
}
